package com.zw.design.pattern.creational.builder.v2;

/****
 * 建造者升级版本
 * zw
 */
public class Test {
    public static void main(String[] args) {
        Course cs=new Course.CourseBuilder().buildCourseName("spring源码解析").buildCoursePPT("spring源码解析PPT")
                .buildCourseVideo("spring源码解析视频").buildCourseArticle("spring源码解析手记")
                .buildCourseOA("spring源码解析问答").build();
        System.out.println("cs = " + cs);
    }
}
